<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">  
    <meta name = "format-detection" content = "telephone=no"> 
    <title>我的礼券</title>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/coupon.css?v=20170322002">
    <style>
        body{
            background: #fff;
        }
    </style>
    <include file="Public/common_js"/>
</head>
<body>
    <div class="coupon-get">
        <input type="text" id="dhcode"  >
        <a href="javascript:void(0);">兑换</a>
    </div>
    <div class="coupon-box">
        <div class="coupon-des">
            <h4>有<label>{$count}</label>张礼券可使用</h4>
            <h4><a href="javascript:;">使用说明</a></h4>
        </div>
        <div id="ajax-couponlist" class="coupon-list"></div>
        <div class="progress-loader" style="display:none;">
            <if condition="$count gt 10 ">
            <a href="javascript:;" class="btn btn-second btn-block btn-coupon-more">加载更多&gt;&gt;</a>
            </if>
        </div> 
    </div>
    <if condition="$countfail gt 0">
        <a href="{:url('Member/memberCouponFail')}" class="fail-coupon-btn">查看失效礼券&gt;&gt;</a>
    </if>
    <script type="text/javascript">
		 function jump(url){
			window.location.href = url;
		}
		require(['member/coupon']);
	</script>
</body>
</html>